<%@page import="com.mmy.domain.sys.TSysUser"%>
<%@page import="com.mmy.domain.bidtender.TBidTender"%>
<%@page import="com.mmy.domain.bidtender.TBidTrip"%>
<%@page import="com.mmy.domain.bidtender.TBidDetailed"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
 <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>  
 <%
 	TSysUser tSysUser = (TSysUser)session.getAttribute("tSysUser");
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

		<!-- 2020.12.10  添加投标行程和细节时用到
		<script src="js/webbackground.js"></script> -->
		<jsp:include page="/WEB-INF/jsp/include1.jsp"></jsp:include>
	
<script src="js/date.js"></script>
		
	</head>
	<body>
		<div id="off-canvas-container" class="off-canvas-container">
		<jsp:include page="/WEB-INF/jsp/FrontHeader.jsp"></jsp:include>
		<div id="index-back">
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<main class="at-padding-large-bottom">
			<article>
				<header class="frontbg-light at-padding-large-top at-padding-large-bottom at-margin-large-bottom">
					<div class="page-header container">
						<div class="row">
							<div class="span-5 col">
								<h1>参与投标</h1>
							</div>	
							
						 </div >
					</div>
				</header>
				<section class="container">
					<!-- 新建投标基本信息 -->
					<div class="information" >
					<from>
						<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建投标信息
						</h4>
					<div class="input-container">
					<table class="info-table">
					
				<tr>
					<th><label for="TenderInviteName">招标名称</label></th>
					<td colspan="5">
						<input type="hidden" id="TenderInviteID" name="InviteID" value="${strInviteID }" readonly="readonly"/>
						<input type="text" id="TenderInviteName" name="InviteName" value="${strInviteName }" readonly="readonly"/><span class="mustWrite">*</span>
					</td>
					</tr>
					<tr>
					<th><label for="TenderBudget">预算金额</label></th>
					<td colspan="5">
				<input type="number" step="0.01" id="TenderBudget" name="Budget" maxlength="18"  oninput="if(value>${dbConstParameter.getValue() })value=${dbConstParameter.getValue() };if(value.length>18)value=value.slice(0,18);if(value<0)value=0" required="required"></input> <span class="mustWrite">*</span>
					</td>
					
					
				</tr>
				<tr>
					<th><label for="TenderOutDate">出行日期</label></th>
					<td colspan="2">
						<input type="text" id="TenderOutDate" onclick="SetDate(this,'yyyy-MM-dd hh:mm:ss')" placeholder="请选择日期" name="OutDateTime"  required="required" /><span class="mustWrite">*</span>
					</td>
					<th><label for="TenderBackDate">返程日期</label></th>
					<td colspan="2">
					<input type="text" onclick="SetDate(this,'yyyy-MM-dd hh:mm:ss')" placeholder="请选择日期" id="TenderBackDate" name="BackDateTime"  required="required" /><span class="mustWrite">*</span>
					</td>
					
					
				</tr>
				<tr>
					<th><label for="TenderOwn">自费项目</label></th>
						<td colspan="5">
						<textarea id="TenderOwn" name="Own" maxlength="512" required="required"></textarea><span class="mustWrite">*</span>
					</td>
					
				</tr>
				<tr>
					<th><label for="TenderTips">温馨提示</label></th>
						<td colspan="5">
						<textarea id="TenderTips" name="Tips" maxlength="512" required="required"></textarea><span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
					<th><label for="TenderStandard">接待标准</label></th>
						<td colspan="5">
						<textarea id="TenderStandard" name="Standard" maxlength="512" required="required"></textarea><span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
					<th><label for="TenderExplain">接待说明</label></th>
						<td colspan="5">
						<textarea id="TenderExplain" name="Explain" maxlength="512" required="required"></textarea><span class="mustWrite">*</span>
					</td>
				</tr>
				<tr>
					<th><label for="TenderMemo">备注</label></th>
						<td colspan="5">
						<textarea id="TenderMemo" name="Memo" maxlength="256"></textarea>
					</td>
				</tr>
			</table>
			
			</div>
			<!-- 创建行程信息 -->
			
			
			<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建行程信息
						</h4>
					<div class="input-container">
	<table id="tripTable" class="info-table">
		<tbody>
		<tr>
		<td colspan="8">详情</td>
		<td>操作</td>
		</tr>
		
		</tbody>
		
	</table>
	<input type="button" id="btn_tripaddtr" class="btn" value="增行" onClick="addTable()" >
	</div>
		<!-- 创建明细信息 -->
			
			
			<h4 class="info-h4">
							<i class="fa fa-caret-right" aria-hidden="true" ></i>新建投标明细
						</h4>
					<div class="input-container">
			<table id="detailedTable" class="info-table">
		<tbody>
		<tr>
		<td colspan="6">详情</td>
		<td>操作</td>
		</tr>
		
		</tbody>
		
	</table>
	<input type="button" id="btn_detailedaddtr" class="btn" value="增行" onClick="addTableDetailed()" >
	</div>
	
			<center>
				<input type="submit" class="btn" value="保存" onclick="saveCreateBidTender()"/>
				
				<input type="button" class="btn" value="返回" onclick="rehidder()"/>
			</center> 
			</from>
			</div>
			</section>
			</article>
			</main>
			<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main End -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
</div>
		<jsp:include page="/WEB-INF/jsp/Footer.jsp"></jsp:include>
	</div>
	<!-- /st-container -->
	<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Script Embed Start -->
		<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
		<!-- Main Slider -->
		<jsp:include page="/WEB-INF/jsp/include2.jsp"></jsp:include>
		<script>
			new GridScrollFx( document.getElementById( 'news-grid' ), {
				viewportFactor : 0.4
			} );
		</script>

</body>

</html>